

#ifndef _DDI_MANAGE_H_
#define _DDI_MANAGE_H_

#include "ddi_common.h"
//#include "pciglobal.h"
#define FILE_INFO_ID_LEN  9
#define FILE_INFO_ID "FILE_INFO"

#define POSSNFILENAME "posno"
/*
typedef struct __HWSN_INFO
{
//    u8 m_flg[8];
    u8 m_vendorid[6];
    u8 m_termialno[2];
    u8 m_sn[42];
    u8 m_snlen;
    u8 m_snkey[16];
    u8 m_crc[2];
}hwsn_info_t;
#define HWSN_INFO_LEN   sizeof(hwsn_info_t)


typedef enum 
{
    FIRMWARETYPE_APBOOT = 0,
    FIRMWARETYPE_APCORE,
    FIRMWARETYPE_APVIVA,
    FIRMWARETYPE_APMANAGE,
    FIRMWARETYPE_APAPP,
    FIRMWARETYPE_SPBOOT,
    FIRMWARETYPE_SPCORE,
    FIRMWARETYPE_SPAPP
}FIRMWARETYPE;


extern s32 ddi_misc_read_dsn(SNType sntype,u8 *lpOut);
extern s32 ddi_misc_get_firmwareversion (FIRMWARETYPE  nType,u8 *lpOut ) ;
extern s32 ddi_misc_probe_dev(u32 nDev);
extern s32 ddi_misc_sleep_with_alarm(s32 sec, s32 type, s32 status);
*/

#endif


